package edu.imu.question.service;

import edu.imu.question.controller.form.PaperForm;
import edu.imu.question.dto.PaperDetailDTO;
import edu.imu.question.entity.Paper;
import edu.imu.question.entity.ResponseResult;

import java.util.List;

public interface PaperService {
    ResponseResult submitPaper(PaperForm paperForm);

    int paperCount(long questionnaireId);

    List<Paper> getByQuestionnaireId(long questionnaireId);

    PaperDetailDTO getPaperDetail(long paperId);

    ResponseResult deletePaper(Long paperId);
}
